﻿.welcome {
    margin-bottom: 2rem;
    line-height: 1.75;
}

    .welcome ::deep .carousel {
        padding: 1rem;
        height: 380px;
        display: flex;
        flex-direction: column;
        border-radius: var(--bs-border-radius);
        border: 1px solid #dce3e8;
        padding: 1rem;
    }

        .welcome ::deep .carousel img {
            width: 100%;
            height: auto;
        }

        .welcome ::deep .carousel .carousel-caption {
            position: absolute;
            margin-top: 1rem;
            color: #607D8B;
            border-top: solid 1px #dce3e8;
            height: 120px;
            bottom: 0;
            left: 0;
            right: 0;
        }

        .welcome ::deep .carousel .carousel-indicators li {
            background-color: #607D8B;
        }

.welcome-header {
    margin-bottom: 2rem;
    margin-top: 2rem;
    font-size: 1rem;
    line-height: 2;
}

.welcome-body {
    font-size: 22px;
    margin-top: 1rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

    .welcome-body .typed {
        color: #0073dc;
        font-weight: 500;
    }

    .welcome-body .typed-cursor {
        color: #0073dc;
    }

    .welcome-body .typed-cursor {
        animation: flash 1s ease-in-out infinite;
    }

        .welcome-body .typed-cursor.active {
            animation: none;
        }

.welcome-body-en {
    font-size: 32px;
    margin-top: 2rem;
    line-height: 1.5;
}

    .welcome-body-en .typed {
        color: #0073dc;
        font-weight: 500;
    }

@keyframes flash {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.welcome-footer {
    display: flex;
    flex-direction: column;
}

    .welcome-footer div:not(:last-child) {
        margin-bottom: 1rem;
    }

    .welcome-footer div {
        justify-content: space-between;
    }

    .welcome-footer .tag {
        cursor: pointer;
    }

.intro p {
    font-size: 15px;
    color: #1a1a1a;
    letter-spacing: .41px;
    text-align: left;
    line-height: 24px;
}

.intro h3 {
    color: #1a1a1a;
    letter-spacing: .1px;
    text-align: left;
    line-height: 25px;
    font-weight: 400;
    margin: 15px 0;
    font-size: 1.25rem;
}

.donate {
    margin-top: 2rem;
    margin-bottom: 2rem;
    padding-top: 2rem;
    text-align: center;
    border-top: solid 1px #ddd;
    position: relative;
}

    .donate h3 {
        margin-bottom: 1.5rem;
    }

    .donate .barcode {
        width: 280px;
    }

@media (max-width: 576px) {
    .intro .card {
        border-color: transparent !important;
    }
}

@media (min-width: 576px) {
    .intro .card {
        border-color: #dce3e8;
        height: 263px;
        width: 100%;
        padding: 1rem;
        cursor: pointer;
        transition: all .3s ease-in-out;
    }

        .intro .card:hover,
        .coms-demo .card:hover {
            box-shadow: 0 1px 7px 0 rgba(0,0,0,0.05), 0 2px 8px 0 rgba(0,0,0,0.07), 0 3px 9px 0 rgba(0,0,0,0.06), 0 5px 10px 0 rgba(0,0,0,0.03);
        }

        .intro .card p, .intro .card, .intro .card h3 {
            text-align: center;
        }
}

@media (min-width: 768px) {
    .welcome-header {
        margin-top: 0;
        margin-bottom: 0;
    }

    .donate .barcode {
        width: 480px;
    }
}

@media (min-width: 992px) {
    .welcome ::deep .carousel {
        height: 456px;
    }

    .welcome-footer {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 0 15px;
        margin-bottom: 0;
    }
}

@media (min-width: 1200px) {
    .welcome ::deep .carousel {
        height: 520px;
    }
}
